﻿using BCDto.Common.IP;
using System;
using System.Collections.Generic;
using System.Text;

namespace BCService.Common.IP
{
    /// <summary>
    /// IP地址记录业务处理
    /// </summary>
    public interface IIPAddressRecordService
    {
        /// <summary>
        /// 导入IP地址记录
        /// </summary>
        /// <param name="ipAddressRecordsDto">IP地址记录列表</param>
        /// <returns></returns>
        void Import(List<IPAddressRecordDto> ipAddressRecordsDto);
        /// <summary>
        /// 查询IP地址记录信息
        /// </summary>
        /// <param name="ip">ip地址</param>
        /// <returns></returns>
        IPAddressRecordDto Get(string ip);
    }
}
